package com.itheima.service.impl;

import com.itheima.domain.User;
import com.itheima.service.UserService;
import org.apache.dubbo.config.annotation.Service;
//import org.springframework.stereotype.Service;


@Service
public class UserServiceImpl implements UserService {

    public String sayHello() {
        return "hello dubbo!~难受";
    }

    public User findUser(){
        return new User("Mike",20);
    }
}
